﻿namespace Caltrain.ViewModel
{
    using System;

    public class TrainSchedule
    {
        public DateTime DepartureTime
        {
            get;
            set;
        }

        public DateTime ArrivalTime
        {
            get;
            set;
        }

        public bool NextAvailable
        {
            get;
            set;
        }

        public string TrainNumber
        {
            get;
            set;
        }

        public TrainSchedule(DateTime departureTime, DateTime arrivalTime, bool nextAvailable, string trainNumber)
        {
            this.DepartureTime = departureTime;
            this.ArrivalTime = arrivalTime;
            this.NextAvailable = nextAvailable;
            this.TrainNumber = trainNumber;
        }
    }
}
